package com.ficus.road.maintain.core.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author xiawen yang
 * @date 2021/10/11 上午10:42
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class InspectPictureVO {

    @NotEmpty(message = "照片id不能为null或者空列表")
    private String pictureId;

    private String url;

    @NotNull(message = "病灶列表不能为null")
    private List<Lesion> lesions;

}
